VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree Namespace / PdfNamedDictionaryBase<T> Class / TryGetValue(String,T) Method
Syntax Requirements SeeAlso
In This Topic
    TryGetValue(String,T) Method (PdfNamedDictionaryBase<T>)
    In This Topic
    Retursn a value associated with the specified name.
    Syntax
    'Declaration
    
    Public Function TryGetValue( _
    ByVal name
    The name whose value to get.
    As System.String, _
    ByRef value
    When this method returns, the value associated with the specified name, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
    As T _
    ) As Boolean
    public bool TryGetValue(
    System.String name,
    out T value
    )
    public: bool TryGetValue(
    System.String name,
    [PARAMFLAG::Out] T* value
    )
    public:
    bool TryGetValue(
    System.String name,
    [Out] T^ value
    )

    Parameters

    name
    The name whose value to get.
    value
    When this method returns, the value associated with the specified name, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

    Return Value

    True if the object contains an element with the specified name; otherwise, false.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also